package cn.tedu.charging.order.feign;


import cn.tedu.charging.common.pojo.param.ChargingProcessParam;
import cn.tedu.charging.common.pojo.vo.ChargingProcessVO;
import cn.tedu.charging.common.result.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("costService")
public interface CostClient {

    @PostMapping("v1/cost/cacle")
    JsonResult<ChargingProcessVO> cacleChargingPrice(@RequestBody ChargingProcessParam chargingProcessParam);
}
